#include <iostream>

#define PROJECT_NAME "Test_QT5"
#include "includes/TOP.h"


extern int f();

// int main(int argc, char **argv) {
//     if(argc != 1) {
//         printf("%s takes no arguments.\n", argv[0]);
//         return 1;
//     }
//     std::cout<< f()<<std::endl;
//     Ui_MainWindow window;
//     window.setupUi();
//     return 0;
// }

#include <QtWidgets/QApplication>
#include "ui_main.h"

int main(int argc, char* argv[]) {
    std::cout<<f()<<std::endl;
    QApplication app(argc, argv);
    QMainWindow win;
    Ui::MainWindow windows;
    windows.setupUi(&win);
    windows.btnStart->clicked(false);
    win.show();
    return app.exec();
}